< previous page page_55 next page >

Page 55
(table continued on previous page)
PropertyDescription
MaxLengthSet this property to the maximum number of characters the user will be allowed to type into the text box. If set to 0, any amount up to 2,048 characters may be input. If the MultiLine property is set to True, up to about 32KB of text may be input.
MultiLineIf this property is set to True, the user may scroll the text box up and down but not left and right. If you set this property to True, youll typically set the ScrollBars property to allow for a vertical scroll bar. If you dont set this property, the user can still scroll left and right by using the keyboard.
NameSet this property to the name of the control as you want to refer to it in your code. You should always preface the name of the text box with txt.
ScrollBarsThis property may be set to display horizontal or vertical (or both) scroll bars on the text box control. Youll typically use this property when you set the MultiLine property to True.
TabIndexThe TabIndex property is set to a number that reflects the order in which you want to have your users tab through all the controls on your form.
TabStopWhen this property is set to a True value, the control gets focus as the user tabs through the controls on your form. If this is set to a False value, the control will not get focus. However, the user can still click this control with the mouse to give it focus.
TextThis property displays text to the user and is filled with the text the user types in the control.
ToolTipTextSet this property to a textual value that you want to have displayed when the user hovers his or her cursor over the text box for a few seconds.
VisibleIndicates whether the control is visible.

 
< previous page page_55 next page >

If you like this book, buy it!